package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 两票任务(OperationTicketTask)表实体类
 *
 * @author yxy
 * @since 2024-12-11 19:58:34
 */
@Data
@ApiModel("两票任务")
@TableName(value = "tb_operation_ticket_task")
public class OperationTicketTask extends Model<OperationTicketTask> implements Serializable {
    private static final long serialVersionUID = 801396117501001963L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("两票id")
    private Long ticketId;

    @ApiModelProperty("两票名称")
    @TableField(exist = false)
    private String ticketName;

    @ApiModelProperty("任务")
    private String ticketTask;

    @ApiModelProperty("地点")
    private String ticketSite;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
